<!DOCTYPE html>
<html>
	<head>
		<title>CSS Test: flow-into on ordered and unordered list items</title>
		<link rel="author" title="Mihai Balan" href="mibalan@adobe.com">
		<link rel="help" href="http://www.w3.org/TR/css3-regions/#properties" />
        <link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" />
		<meta name="flags" content="">
		<meta name="assert" content="The flow-into property can be applied to individual list items. List items extracted in named flows and flowed into regions must preserve their list markers and numbering.">
		<link rel="match" href="reference/extract-list-items-001-ref.html">
		<style>
		ul > li {
			flow-into: uflow;
		}
		#r1 {
			flow-from: uflow;
		}
		ol > li {
			flow-into: oflow;
		}
		#r2 {
			flow-from: oflow;
		}
		.region {
			width: 200px;
			background-color: lightgray;
			margin: 1em 2em;
		}
		</style>
	</head>
	<body>
		<p>This test passes if there are two gray rectangles, each with a 4 items list in it.<br>
		The first list should not be numbered and the second should be numbered, starting at 1.<br>
		Both the list markers for the first list and the numbers for the second list should be outside of the gray rectangles.
		</p>
		<ul>
			<li>Unordered list, item 1</li>
			<li>Unordered list, item 2</li>
			<li>Unordered list, item 3</li>
			<li>Unordered list, item 4</li>
		</ul>
		<ol>
			<li>Ordered list, item 1</li>
			<li>Ordered list, item 2</li>
			<li>Ordered list, item 3</li>
			<li>Ordered list, item 4</li>
		</ol>
		<div id="r1" class="region"></div>
		<div id="r2" class="region"></div>
	</body>
</html>